package com.autcar.training.entity;

/**
 * Create by linjh on 2
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 保险表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "Insurance")
public class Insurance {

    /**主键*/
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Integer id;

    /**订单号*/
    @TableField(value = "oid")
    private Integer oid;

    /**交强险*/
    @TableField(value = "vi")
    private Integer vi;

    /**车损险*/
    @TableField(value = "ai")
    private Integer ai;

    /**第三者责任险*/
    @TableField(value = "ci")
    private Integer ci;

    /**不计免险*/
    @TableField(value = "mi")
    private Integer mi;
}
